{% extends "base.html" %}
{% block title %}临时页{% endblock %}
{% block head %}
    <link rel="stylesheet"
          href="{{ url_for('static', filename='plugins/font-awesome-4.7.0/css/font-awesome.min.css') }}">
    <link rel="stylesheet"
          href="{{ url_for('static', filename='plugins/bootstrap-star-rating-master/css/star-rating.min.css') }}">
    <style>
    </style>
{% endblock %}
{% block body %}
    <input id="average_rating" type="text" title=""/>
{% endblock %}
{% block js %}
    <script src="{{ url_for('static', filename="plugins/bootstrap-star-rating-master/js/star-rating.js") }}"></script>
    <script>
        var $inp = $('#average_rating');
        $inp.rating({
            min: 0,
            max: 5,
            step: 0.1,
            size: 'sm',
            showClear: false,
            displayOnly: true,
        });
        $(function (){
            $("#average_rating").rating("update", 2)
        })
    </script>
{% endblock %}